package com.hm.system.mongo.domain.system;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.common.model.BaseModel;
import com.hm.system.mongo.domain.def.SysDictDef;
import com.hm.system.mongo.util.SystemMongoDataDef;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 2016年6月2日 下午10:39:07
 * @version 1.0
 * @describe 数据字典
 */
@Setter
@Getter
@Document(collection = SystemMongoDataDef.Db.Mongo.PREFIX + "sys_dict_info")
public class SysDictInfo extends BaseModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String name;
	
	@Field("dict_def")
	private SysDictDef dictDef;
	
	private String code;
	
	private String note;
	
	private Integer sort;
	
}
